package cn.b.training.baby_education_training.service.dto;

import cn.b.training.baby_education_training.entity.UserInfo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @program: baby_education_training
 * @description
 * @author: wuying
 * @create: 2022-12-01 17:25
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ResultInfo {
    /**
     * 返回一个成功或者失败的信息
     */
    private String msg;
    /**
     * 返回是否成功
     */
    private boolean success;
    /**
     * 返回一个User对象
     */
    private UserInfo user;
}
